
#include <stdio.h>

// https://www.cnblogs.com/andashu/p/6378000.html

int sb(int n)
{
    for (int i = 0; i < n; i++)
        ;
}

int fab(int n)
{
    if (n == 1 || n == 2)
        return n;
    sb(n);
    return fab(n - 1) + fab(n - 2);
}


int main(int argc, char const* argv[])
{
    for (int i = 0; i < 20; i++)
        printf("%d: ", i);
    printf("\n");
    int n = 40;
    int res = fab(n);
    printf("fab(%d) -> %d\n", n, res);
    return 0;
}
